home *** CD-ROM | disk | FTP | other *** search
- -- card: 20566 from stack: in.3r
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 2202
- -- name: noButtonDelete
- ----- HyperTalk script -----
- on deleteButton
- beep 3
- answer "You can't do that"
- domenu copy button
- domenu paste button
- end deleteButton
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=364 top=186 right=246 bottom=464
- -- title width / last selected line: 0
- -- icon id / first selected line: 21240 / 21240
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Can't Delete me!
- ----- HyperTalk script -----
- on deleteButton
- beep 3
- answer "You can't do that"
- domenu copy button
- domenu paste button
- end deleteButton
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=251 top=159 right=219 bottom=351
- -- title width / last selected line: 0
- -- icon id / first selected line: 21240 / 21240
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Can't Delete me!
- ----- HyperTalk script -----
- on deleteButton
- beep 3
- answer "You can't do that"
- domenu copy button
- domenu paste button
- end deleteButton
-
-
- -- part contents for background part 10
- ----- text -----
- 11
-
- -- part contents for background part 3
- ----- text -----
- noButtonDelete
-
- -- part contents for background part 2
- ----- text -----
- --NOTE: Handlers are included in the Function section for convenience.
- --
- --If you ever create a stack where you want the uninitiated user prevented from
- --accidentally deleting an important button, put the following handler in the background
- --or stack script.
- --
- --It is installed in this card. Try to delete the button below...
- --
- --by Steve Drazga, AnalytX
- --
- on deleteButton
- beep 3
- answer "You can't do that"
- domenu copy button
- domenu paste button
- end deleteButton
-
- -- part contents for background part 19
- ----- text -----
- Functions